package com.niguang.labour.admin.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE
 * </p>
 *
 * @author 
 * @since 2018-06-10
 */
@TableName("work_enlist")
public class WorkEnlist extends Model<WorkEnlist> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private Long id;
    /**
     * 个人发布消息id
     */
	@TableField("personal_release_id")
	private Long personalReleaseId;
    /**
     * 企业发布消息id
     */
	@TableField("company_release_id")
	private Long companyReleaseId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 删除标识 0-未删除 1-已删除
     */
	@TableField("del_flag")
	private Integer delFlag;
    /**
     * 个人用户id
     */
	@TableField("user_id")
	private Long userId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPersonalReleaseId() {
		return personalReleaseId;
	}

	public void setPersonalReleaseId(Long personalReleaseId) {
		this.personalReleaseId = personalReleaseId;
	}

	public Long getCompanyReleaseId() {
		return companyReleaseId;
	}

	public void setCompanyReleaseId(Long companyReleaseId) {
		this.companyReleaseId = companyReleaseId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public static final String ID = "id";

	public static final String PERSONAL_RELEASE_ID = "personal_release_id";

	public static final String COMPANY_RELEASE_ID = "company_release_id";

	public static final String CREATE_TIME = "create_time";

	public static final String DEL_FLAG = "del_flag";

	public static final String USER_ID = "user_id";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WorkEnlist{" +
			"id=" + id +
			", personalReleaseId=" + personalReleaseId +
			", companyReleaseId=" + companyReleaseId +
			", createTime=" + createTime +
			", delFlag=" + delFlag +
			", userId=" + userId +
			"}";
	}
}
